

//Component Object
Component({
  properties: {
    cardCur: {
      type: Number,
      value: 0
    },
    DotStyle: {
      type: Number,
      value: 0
    },
    list: {
      type: Array,
      value: []
    }
  },
  methods: {
    /**
     * 跳转到活动详情页面
     */
    toActivityInfo(e){
      wx.navigateTo({
        url: '/pages/activity-info/activity-info?id=' + e.currentTarget.dataset.id
      });
    }
  },
  options: {
    addGlobalClass: true
  }
})